using UnityEngine;

public class VehicleConfiguration : MonoBehaviour
{
	public int GetSelectedVehicle()
	{
		return PlayerPrefs.GetInt("selected_vehicle", 0);
	}

	public float GetSpeed()
	{
		return PlayerPrefs.GetFloat("vehicle_" + GetSelectedVehicle() + "_speed", 0f);
	}

	public float GetAcceleration()
	{
		return PlayerPrefs.GetFloat("vehicle_" + GetSelectedVehicle() + "_acceleration", 0f);
	}

	public float GetBrakes()
	{
		return PlayerPrefs.GetFloat("vehicle_" + GetSelectedVehicle() + "_brakes", 0f);
	}
}
